package com.drive.mapper;

import com.drive.bean.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author 往
 * 预约设置接口
 */
public interface OrderSettingMapper {
    long findCountByOrderDate(Date orderDate);

    void editNumberByOrderDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map map);

    OrderSetting findByOrderDate(Date date);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
